package com.example.demo.common;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Author: zhuchunfeng
 * @Description
 * @Date: 2020/5/14 10:47
 * Copyright (c) 2019 北京新媒传信科技有限公司
 */
@AllArgsConstructor
@Getter
public enum ApiCode {
    FORBIDDEN(403,"Forbidden"),
    STATUS_OK(200, "Success"),
    STATUS_NOT_FOUND(444, "NotFound"),
    STATUS_INTERNAL_ERROR(500, "Error");
    private int code;
    private String desc;
}
